<template>
  <div>
    <div class="personal-info-box">
      <div class="triangle"></div>
      <div class="player-name">数据总览</div>
      <div class="player-img">
        <img src="../assets/image/leagueLogo/cls.png" alt="" />
      </div>
      <div class="bottom-tab-bar">
        <!-- <div class="selector-season">
          <el-select
            v-model="season"
            @focus="setMinWidthEmpty"
            style="width:150px"
            placeholder="请选择赛季"
          >
            <el-option
              v-for="item in options"
              :key="item.season"
              :label="item.label"
              :value="item.season"
            >
            </el-option>
          </el-select>
        </div> -->
      </div>
    </div>
    <TotalStats :season="season" />
  </div>
</template>

<script>
import mixin from "../mixin/mixin";
import TotalStats from "../components/totalStatistic/TotalStats.vue";
export default {
  name: "PlayerStatistics",
  components: {
    TotalStats,
  },
  mixins: [mixin],
  data() {
    return {
      activeName: "scheduleRound",
      season: "2019赛季",
      selectOptionWidth: "",
      options: [
        {
          season: "2019赛季",
          label: "2019赛季",
        },
        {
          season: "2018赛季",
          label: "2018赛季",
        },
        {
          season: "2017赛季",
          label: "2017赛季",
        },
        {
          season: "2016赛季",
          label: "2016赛季",
        },
      ],
    };
  },
};
</script>

<style scoped>
.personal-info-box {
  position: relative;
  background-color: #f1f6f9;
  width: 1440px;
  height: 294px;
  margin: auto;
}

.triangle {
  border-style: solid;
  border-width: 29px;
  border-color: #65d6c1 transparent transparent #65d6c1;
  width: 0;
  height: 0;
}

.jersey-number {
  position: absolute;
  top: 0;
  left: 35%;
  text-align: center;
  font-size: 150px;
  font-weight: bold;
  width: 30%;
  height: 237px;
  line-height: 237px;
  color: rgba(158, 158, 158, 0.3);
  /*background-color: #B500FE;*/
}

.player-name {
  position: absolute;
  top: 32%;
  left: 30%;
  text-align: center;
  font-size: 66px;
  width: 40%;
  letter-spacing: 5px;
  height: 70px;
  line-height: 70px;
  color: rgba(22, 199, 154, 0.7);
  font-weight: bold;
  /*background-color: navy;*/
}

.player-position {
  position: absolute;
  top: 60%;
  left: 35%;
  text-align: center;
  font-size: 30px;
  width: 30%;
  height: 40px;
  line-height: 40px;
  font-weight: bold;
  /*background-color: #9a6e3a;*/
}

.player-basic-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 5%;
  right: 2%;
  width: 240px;
  height: 220px;
  font-weight: bold;
  /*background-color: #990055;*/
}

.player-info-item {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  line-height: 30px;
  text-align: left;
  width: 100%;
  height: 30px;
  /*background-color: #9a6e3a;*/
}

.player-info-item > div:nth-child(1) {
  width: 80px;
  /*background-color: red;*/
}

.player-info-item > div:nth-child(2) {
  line-height: 30px;
  width: 140px;
  height: 30px;
  /*background-color: blue;*/
}

.player-country,
.player-club {
  display: flex;
}

.national-flag {
  width: 30px;
  height: 30px;
}

.club-logo {
  width: 30px;
  height: 30px;
}

.player-img {
  position: absolute;
  top: 47%;
  left: 1%;
  /*width: 250px;*/
  /*height: 250px;*/
  /*border-radius: 50%;*/
  z-index: 2;
  /*overflow: hidden;*/
}

.player-img > img {
  margin-top: 13px;
  width: 277px;
  /*height: 225px;*/
  /*border-radius: 50%;*/
}

.bottom-tab-bar {
  position: absolute;
  bottom: 0;
  text-align: center;
  font-size: 30px;
  width: 100%;
  height: 57px;
  background-color: #194568;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.personal-info-el-tabs {
  /*font-size: 30px;*/
  margin-top: 5px;
  margin-left: 300px;
  /*margin-right: 25px;*/
}
.personal-info-el-tabs /deep/ .el-tabs__item {
  color: white;
  font-size: 20px;
  font-weight: bold;
}
.personal-info-el-tabs /deep/ .el-tabs__nav-wrap::after {
  height: 0;
}
.personal-info-el-tabs /deep/ .el-tabs__active-bar {
  height: 3px;
  background-color: #65d6c1;
}
.personal-info-el-tabs /deep/ .el-tabs__item:hover {
  color: #65d6c1;
}
.personal-info-el-tabs /deep/ .el-tabs__item.is-active {
  color: #65d6c1;
}

.selector-season {
}
.selector-season /deep/ .el-input {
  width: 80%;
}
.selector-season /deep/ .el-input__inner {
  height: 30px;
}
.selector-season /deep/ .el-input__suffix {
  top: 6px;
}
</style>
